package com.zcah.sensitive.scan;

/**
 * Created by Administrator on 2017/9/28.
 * 自定义的Col_List的映射对象
 */
import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

public class ColListRowMapper implements RowMapper {
    public Object mapRow(ResultSet rs, int rowNum) throws SQLException {
        Col_List col_lists = new Col_List();
        col_lists.setCol_name(rs.getString("COLUMN_NAME"));
        return col_lists;
    }
}